<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新闻发布系统</title>
    <link rel="stylesheet" href="css/style.css">
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
</head>
<body>
    <header>
        <nav class="navbar">
            <div class="logo">
                <h1>新闻发布系统</h1>
            </div>
            <ul class="nav-links">
                <li><a href="index.jsp" class="active"><i class="fas fa-newspaper"></i> 查看新闻</a></li>
                <li><a href="publish.html"><i class="fas fa-edit"></i> 发布新闻</a></li>
                <li><a href="manage.html"><i class="fas fa-cog"></i> 新闻管理</a></li>
                <li><a href="login.jsp"><i class="fas fa-user"></i> 管理员登录</a></li>
            </ul>
        </nav>
    </header>

    <main class="container">
        <div class="news-list">
            <h2>最新新闻</h2>
            <div class="news-items">
                <!-- 新闻列表将通过JavaScript动态加载 -->
            </div>
            <div class="pagination">
                <button class="prev-btn"><i class="fas fa-chevron-left"></i></button>
                <div class="page-numbers">
                    <!-- 页码将通过JavaScript动态生成 -->
                </div>
                <button class="next-btn"><i class="fas fa-chevron-right"></i></button>
                <div class="page-jump">
                    <input type="number" min="1" placeholder="页码">
                    <button class="jump-btn">跳转</button>
                </div>
            </div>
        </div>
    </main>

    <footer>
        <p>&copy; 2024 新闻发布系统 版权所有</p>
    </footer>

    <script src="js/main.js"></script>
</body>
</html> 